#pragma once
#include <vector>
#include <list>
#include "loopable.h"
class Suit;
class Step;

class Case : public loopable
{
public:
	Case(const char* name, Suit* parent);
	~Case(void);

	bool addStep(Step* step);
	bool delStep(int index);

	bool run(void* param);

	std::string getName();

	std::list<loopable *> getLoopable();

private:
	std::vector<Step*> m_steps;
	Suit* parent_;
	std::string m_name;
};